package hcn.protocol.ods.inpatient;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 2.1住院费用查询-住院费用列表
 * Created by yanglj on 2019/1/5.
 */
@XmlRootElement(name = "inHosList")
public class InHosList implements Serializable {

    private static final long serialVersionUID = 5042233185234706229L;
    private String inDate;//入院日期
    private String outDate;//出院日期
    private Double inDays;//在院天数
    private String departmentName;//住院科室
    private String settleType;//结算类别
    private String bedNumber;//病床号
    private String accountNo;//结算序号
    private String orgId;//机构编码
    private String orgName;//机构名称
    private String invoiceNo;//发票号
    private double totalFee;//总费用
    private Date balanceTime;//结算时间
    private List<Daily> dailyList;

    @XmlElement(name = "accountNo")
    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    @XmlElement(name = "orgId")
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @XmlElement(name = "orgName")
    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @XmlElement(name = "invoiceNo")
    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    @XmlElement(name = "totalFee")
    public double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(double totalFee) {
        this.totalFee = totalFee;
    }

    @XmlElement(name = "balanceTime")
    public Date getBalanceTime() {
        return balanceTime;
    }

    public void setBalanceTime(Date balanceTime) {
        this.balanceTime = balanceTime;
    }

    public List<Daily> getDailyList() {
        return dailyList;
    }

    public void setDailyList(List<Daily> dailyList) {
        this.dailyList = dailyList;
    }

    public String getInDate() {
        return inDate;
    }

    public void setInDate(String inDate) {
        this.inDate = inDate;
    }

    public String getOutDate() {
        return outDate;
    }

    public void setOutDate(String outDate) {
        this.outDate = outDate;
    }

    public Double getInDays() {
        return inDays;
    }

    public void setInDays(Double inDays) {
        this.inDays = inDays;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getSettleType() {
        return settleType;
    }

    public void setSettleType(String settleType) {
        this.settleType = settleType;
    }

    public String getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(String bedNumber) {
        this.bedNumber = bedNumber;
    }

    class Daily{
        private String costDate;//费用日期(yyyy-MM-dd HH:mm:ss) string

        public String getCostDate() {
            return costDate;
        }

        public void setCostDate(String costDate) {
            this.costDate = costDate;
        }
    }
}
